<template>
  <div>
    <div class="noData">
      <van-empty
        class="custom-image"
        :image="emptyImg"
        description="暂无您登记的结婚信息"
      />
    </div>
  </div>
</template>

<script>
import { Empty } from 'vant';

export default {
  name: 'NoData',
  data () {
    return {
      emptyImg: require('@/assets/images/emptyImg.png'),
    }
  },
}
</script>

<style lang="less" scoped>
  @import '~styles/varibles.less';
  .noData {
    display: flex;
    justify-content: center;
    align-items: center;
    height: @pageHeight;
    background-color: inherit;
    .custom-image .van-empty__image {
      width: 90px;
      height: 90px;
    }
  }
</style>
<style>
  .noData .van-empty {
    padding: 0 0;
  }
  .noData .van-empty__description {
    color:#000;
  }
  .custom-image .van-empty__image {
    height: auto;
  }
</style>
